package com.demo.dto;

import com.demo.config.CustomLocalDateTimeDeserializer;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class LeaveDTO {
    @ApiModelProperty("请假编号")
    private  String leaveID;

    @ApiModelProperty("请假课程")
    private String courseName;

    @ApiModelProperty("请假事由")
    private String reason;

    @ApiModelProperty("请假天数")
    private int daynum;

    @ApiModelProperty("审核状态")
    private String status;

    @ApiModelProperty("审核意见")
    private String opinion;

    @ApiModelProperty("学生学号")
    private String stuNo;

    @JsonDeserialize(using = CustomLocalDateTimeDeserializer.class)
    private LocalDateTime audittime;


}
